package com.health.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_checkgroup")
public class CheckGroup implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String code;

    private String name;

    @TableField(value = "helpCode")
    private String helpCode;

    private String sex;

    private String remark;

    private String attention;

    @TableField(exist = false)
    @JsonIgnore
    private List<CheckItem> checkItems;

}
